<template>
	<el-config-provider :locale="zhCn">
		<router-view v-loading="useAdmin.loading" />
	</el-config-provider>
</template>

<script setup>
import useAdminStore from '@/store/index.js'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

const useAdmin = useAdminStore()
</script>

<style scoped></style>
